package controller.common;

import org.apache.shiro.SecurityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import wt.entity.upms.Account;

/**
 * 功能:
 * 作者: 洪世成
 * 日期: 2017/9/9
 * 版权所有: admin
 */
public class BaseController {
    public Logger log = LoggerFactory.getLogger(this.getClass());


  public Account getLoginAccount() {
        return (Account) SecurityUtils.getSubject().getPrincipal();
    }

}
